valueOf

open fun valueOf(d: Double): Value

Create a value from a double.

Return

the created value

Parameters

d

the double to create a value from

open fun valueOf(l: Long): Value

Create a value from a long.

Return

the created value

Parameters

l

the long to create a value from

open fun valueOf(b: Boolean): Value

Create a value from a boolean.

Return

the created value

Parameters

b

the boolean to create a value from

open fun valueOf(@NonNull() str: String): Value

Create a value from a string.

Return

the created value

Parameters

str

the string to create a value from

open fun valueOf(@NonNull() array: List<Value>): Value

Create a value from an list

Return

the created value

Parameters

array

the list to create a value from

open fun valueOf(@NonNull() map: HashMap<String, Value>): Value

Create a value from a map

Return

the created value

Parameters

map

the map to create a value from